import request from "../../utils/request";

const getList = params => request({
  url: `v1/group/permission/${params.Id}`,
  method: 'get',
  params: params
});

const save = (data) => request({
  url: 'v1/group/permission',
  method: 'post',
  data: data
});


export default {
  getList,
  save
}
